public class Main {
    public static void main(String[] args) {
        Singleton singleton1 = Singleton.getInstance();
        Singleton singleton2 = Singleton.getInstance();
        Singleton singleton3 = Singleton.getInstance();
        System.out.println(singleton1.getNum()+":"+singleton2.getNum()+":"+singleton3.getNum());
    }

}

class Singleton{
    private int num=2025;
    public void setNum(int num)
    {
        this.num=num;
    }
    public int getNum()
    {
        return num;
    }
    static Singleton instance = new Singleton();

    private Singleton(){};
    public static Singleton getInstance()
    {
        return instance;
    }
}